package com.iary.interfaces.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class MainController {
	
	@RequestMapping("/")
	public ModelAndView execute() {
		ModelAndView mav = new ModelAndView("index");
		mav.addObject("cat", "1");
		return mav;
	}
	
}
